<script setup lang="ts">
import BasicLayout from '@/layouts/BasicLayout.vue'

import { healthUsingGet } from '@/api/mainController'
import { useLoginUserStore } from '@/stores/useLoginUserStore'

healthUsingGet().then((res) => {
  console.log(res)
})

const loginUserStore = useLoginUserStore()
loginUserStore.fetchLoginUser()

</script>

<template>
  <div id="app">
    <BasicLayout>
      <router-view />
    </BasicLayout>
  </div>
</template>

<style scoped>
#app {

}
</style>
